<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>三泵订货后台管理</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="assets/css/admin.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

<header class="am-topbar admin-header">
    <div class="am-topbar-brand">
        <strong>三泵订货</strong>
        <small>后台管理模板</small>
    </div>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span
            class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;" v-cloak>
                    <span class="am-icon-users" id="adminname"></span><span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    <li><a href="#" id="tuichu"><span class="am-icon-power-off" ></span> 退出</a></li>
                </ul>
            </li>
            <li><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> 开启全屏</a></li>
        </ul>
    </div>
</header>
<div class="am-cf admin-main" id="box1">
    <!-- sidebar start -->
    <div class="admin-sidebar" id="daohang">
        <ul class="am-list admin-sidebar-list" id="accordion">
            <li v-if="isShow(27)"><a href="管理员.html"><span class="am-icon-user"></span> 管理员设置</a></li>
            <li v-if="isShow(7)"><a href="后台主页.html"><span class="am-icon-home"></span> 首页</a></li>
            <li class=" am-panel admin-parent" v-if="isShow(1)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-2'}">
                    <svg id="icon-goods-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M153.6 51.2h716.8c56.32 0 102.4 46.08 102.4 102.4v716.8c0 56.32-46.08 102.4-102.4 102.4H153.6c-56.32 0-102.4-46.08-102.4-102.4V153.6c0-56.32 46.08-102.4 102.4-102.4z" fill="#A1B8C2"></path><path d="M153.6 51.2h716.8c56.32 0 102.4 46.08 102.4 102.4v716.8c0 56.32-46.08 102.4-102.4 102.4H153.6c-56.32 0-102.4-46.08-102.4-102.4V153.6c0-56.32 46.08-102.4 102.4-102.4z m0 51.2c-30.72 0-51.2 20.48-51.2 51.2v716.8c0 30.72 20.48 51.2 51.2 51.2h716.8c30.72 0 51.2-20.48 51.2-51.2V153.6c0-30.72-20.48-51.2-51.2-51.2H153.6z" fill="#6D8994"></path><path d="M353.28 435.2V460.8c0 97.28 71.68 179.2 158.72 179.2s158.72-81.92 158.72-179.2v-25.6c-5.12-10.24-5.12-15.36-5.12-25.6 0-30.72 20.48-51.2 51.2-51.2s51.2 20.48 51.2 51.2-20.48 51.2-51.2 51.2c0 128-92.16 230.4-204.8 230.4s-204.8-102.4-204.8-230.4c-30.72 0-51.2-20.48-51.2-51.2s20.48-51.2 51.2-51.2 51.2 20.48 51.2 51.2c0 10.24 0 15.36-5.12 25.6z" fill="#FFFFFF"></path></svg>
                    商品<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-2">
                    <li v-if="isShow(8)"><a href="html/wares/商品列表.html">商品列表</a></li>
                    <li v-if="isShow(9)"><a href="html/wares/基础信息.html">基础信息</a></li>
                </ul>
            </li>
            <li class=" am-panel admin-parent" v-if="isShow(2)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-3'}">
                    <svg id="icon-sell-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M414.72 1024H153.6c-56.32 0-102.4-46.08-102.4-102.4V102.4c0-56.32 46.08-102.4 102.4-102.4h261.12c10.24 30.72 40.96 51.2 71.68 51.2s61.44-20.48 71.68-51.2H819.2c56.32 0 102.4 46.08 102.4 102.4v819.2c0 56.32-46.08 102.4-102.4 102.4h-261.12c-10.24-30.72-40.96-51.2-71.68-51.2s-61.44 20.48-71.68 51.2z" fill="#A1B8C2"></path><path d="M153.6 1024c-56.32 0-102.4-46.08-102.4-102.4V102.4c0-56.32 46.08-102.4 102.4-102.4h261.12c10.24 30.72 40.96 51.2 71.68 51.2s61.44-20.48 71.68-51.2H819.2c56.32 0 102.4 46.08 102.4 102.4v819.2c0 56.32-46.08 102.4-102.4 102.4h-261.12c-10.24-30.72-40.96-51.2-71.68-51.2s-61.44 20.48-71.68 51.2H153.6z m332.8-102.4c40.96 0 76.8 20.48 102.4 51.2H819.2c30.72 0 51.2-20.48 51.2-51.2V102.4c0-30.72-20.48-51.2-51.2-51.2h-230.4c-25.6 30.72-61.44 51.2-102.4 51.2s-76.8-20.48-102.4-51.2H153.6c-30.72 0-51.2 20.48-51.2 51.2v819.2c0 30.72 20.48 51.2 51.2 51.2h230.4c25.6-30.72 61.44-51.2 102.4-51.2zM768 51.2h51.2v51.2h-51.2V51.2z m0 870.4h51.2v51.2h-51.2v-51.2z m0-768h51.2v102.4h-51.2V153.6z m0 153.6h51.2v102.4h-51.2V307.2z m0 153.6h51.2v102.4h-51.2V460.8z m0 153.6h51.2v102.4h-51.2v-102.4z m0 153.6h51.2v102.4h-51.2v-102.4zM153.6 51.2h51.2v51.2H153.6V51.2z m0 870.4v51.2h51.2v-51.2H153.6zM153.6 153.6h51.2v102.4H153.6V153.6z m0 153.6h51.2v102.4H153.6V307.2z m0 153.6h51.2v102.4H153.6V460.8z m0 153.6h51.2v102.4H153.6v-102.4z m0 153.6h51.2v102.4H153.6v-102.4z" fill="#6D8994"></path><path d="M337.92 225.28l179.2 179.2c10.24 10.24 10.24 25.6 0 35.84-10.24 10.24-25.6 10.24-35.84 0L302.08 261.12c-10.24-10.24-10.24-25.6 0-35.84 10.24-10.24 25.6-10.24 35.84 0z" fill="#FFFFFF"></path><path d="M455.68 404.48l179.2-179.2c10.24-10.24 25.6-10.24 35.84 0 10.24 10.24 10.24 25.6 0 35.84L491.52 440.32c-10.24 10.24-25.6 10.24-35.84 0-10.24-10.24-10.24-25.6 0-35.84z" fill="#FFFFFF"></path><path d="M332.8 409.6h307.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-307.2c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6zM332.8 512h307.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-307.2c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6z" fill="#FFFFFF"></path><path d="M512 409.6v384c0 15.36-10.24 25.6-25.6 25.6s-25.6-10.24-25.6-25.6V409.6h51.2z" fill="#FFFFFF"></path></svg>
                    订单<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-3">
                    <li class=" am-panel admin-parent" v-if="isShow(10)">
                        <a class="am-cf" data-am-collapse="{parent: '#collapse-nav-3', target: '#collapse-nav-3-1'}">
                            <span>+&nbsp;&nbsp;&nbsp;</span>订单管理</a>
                        <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-3-1">
                            <li><a href="html/order/订货单.html">订货单</a></li>
                            <li><a href="html/order/代客下单.html">代客下单</a></li>
                        </ul>
                    </li>

                    <li class=" am-panel admin-parent" v-if="isShow(11)">
                        <a class="am-cf" data-am-collapse="{parent: '#collapse-nav-3', target: '#collapse-nav-3-3'}">
                            <span>+&nbsp;&nbsp;&nbsp;</span>退货管理</a>
                        <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-3-3">
                            <li><a href="html/order/退货单.html">退货单</a></li>
                            <li><a href="html/order/新增退货单.html">新增退货单</a></li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li class=" am-panel admin-parent" v-if="isShow(3)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-4'}">
                    <svg id="icon-client-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M609.098914 322.338445l316.72223 185.160688c14.617949 9.745299 24.363248 19.490599 24.363248 34.108548V1024H73.107449V239.503401c0-14.617949 9.745299-34.108548 24.363249-43.853847L462.919424 10.488866c48.726497-24.363248 107.198293-4.87265 131.561541 43.853847 9.745299 14.617949 14.617949 29.235898 14.617949 43.853847v224.141885z" fill="#A1B8C2"></path><path d="M950.184392 975.273503h24.363249c14.617949 0 24.363248 9.745299 24.363248 24.363249s-9.745299 24.363248-24.363248 24.363248H48.744201c-14.617949 0-24.363248-9.745299-24.363249-24.363248s9.745299-24.363248 24.363249-24.363249H73.107449V239.503401c0-14.617949 9.745299-34.108548 24.363249-43.853847L462.919424 10.488866c48.726497-24.363248 107.198293-4.87265 131.561541 43.853847 9.745299 14.617949 14.617949 29.235898 14.617949 43.853847v224.141885l316.72223 185.160688c14.617949 9.745299 24.363248 19.490599 24.363248 34.108548V975.273503zM121.833946 975.273503h438.538472V98.19656c0-9.745299 0-14.617949-4.87265-24.363248-14.617949-19.490599-43.853847-29.235898-68.217096-19.490599L121.833946 239.503401V975.273503z m487.264968 0h292.358982v-428.793172l-292.358982-165.670089V975.273503z" fill="#6D8994"></path><path d="M730.915157 634.188025c14.617949 0 24.363248 9.745299 24.363248 24.363249v97.452993c0 14.617949-9.745299 24.363248-24.363248 24.363249s-24.363248-9.745299-24.363249-24.363249v-97.452993c0-14.617949 9.745299-24.363248 24.363249-24.363249zM341.103182 244.376051c14.617949 0 24.363248 9.745299 24.363248 24.363248v97.452994c0 14.617949-9.745299 24.363248-24.363248 24.363248S316.739933 380.810242 316.739933 366.192293v-97.452994c0-14.617949 9.745299-24.363248 24.363249-24.363248zM341.103182 488.008535c14.617949 0 24.363248 9.745299 24.363248 24.363248v97.452994c0 14.617949-9.745299 24.363248-24.363248 24.363248s-24.363248-9.745299-24.363249-24.363248v-97.452994c0-14.617949 9.745299-24.363248 24.363249-24.363248zM341.103182 731.641019c14.617949 0 24.363248 9.745299 24.363248 24.363248v97.452994c0 14.617949-9.745299 24.363248-24.363248 24.363248s-24.363248-9.745299-24.363249-24.363248v-97.452994c0-14.617949 9.745299-24.363248 24.363249-24.363248z" fill="#FFFFFF"></path></svg>
                    客户<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-4">
                    <li v-if="isShow(12)"><a href="html/customer/客户列表.html">客户列表</a></li>
                    <li v-if="isShow(13)"><a href="html/customer/客户分布.html">客户分布</a></li>
                </ul>
            </li>
            <li class=" am-panel admin-parent" v-if="isShow(4)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-5'}">
                    <svg id="icon-warehouse-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M204.8 1024H102.4c-30.72 0-51.2-20.48-51.2-51.2V486.4C51.2 215.04 256 0 512 0s460.8 215.04 460.8 486.4V972.8c0 30.72-20.48 51.2-51.2 51.2h-102.4c-30.72 0-51.2-20.48-51.2-51.2v-51.2H256v51.2c0 30.72-20.48 51.2-51.2 51.2z" fill="#A1B8C2"></path><path d="M204.8 1024H102.4c-30.72 0-51.2-20.48-51.2-51.2V486.4C51.2 215.04 256 0 512 0s460.8 215.04 460.8 486.4V972.8c0 30.72-20.48 51.2-51.2 51.2h-102.4c-30.72 0-51.2-20.48-51.2-51.2v-51.2H256v51.2c0 30.72-20.48 51.2-51.2 51.2z m0-51.2v-102.4h614.4v102.4h102.4V486.4C921.6 245.76 737.28 51.2 512 51.2S102.4 245.76 102.4 486.4V972.8h102.4z m25.6-204.8h563.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-563.2c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6z" fill="#6D8994"></path><path d="M230.4 665.6h563.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-563.2c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6zM230.4 563.2h563.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-563.2c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6z" fill="#6D8994"></path><path d="M230.4 358.4h204.8c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-204.8c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6zM588.8 358.4h204.8c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-204.8c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6z" fill="#FFFFFF"></path></svg>
                    仓库<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-5">
                    <li v-if="isShow(14)"><a href="html/warehouse/商品出库.html">商品出库</a></li>
                    <li v-if="isShow(15)"><a href="html/warehouse/商品入库.html">商品入库</a></li>
                    <li v-if="isShow(16)"><a href="html/warehouse/商品库存.html">商品库存</a></li>
                    <li v-if="isShow(17)"><a href="html/warehouse/库存调拨.html">库存调拨</a></li>
                    <li v-if="isShow(18)"><a href="html/warehouse/出入库明细.html">出入库明细</a></li>
                </ul>
            </li>
            <li class=" am-panel admin-parent" v-if="isShow(5)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-6'}">
                    <svg id="icon-purchase-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M61.44 307.2h906.24c30.72 0 51.2 20.48 51.2 51.2v10.24l-81.92 522.24c-10.24 51.2-51.2 87.04-102.4 87.04H189.44c-51.2 0-92.16-35.84-102.4-87.04L10.24 368.64C5.12 337.92 25.6 312.32 51.2 307.2h10.24z" fill="#A1B8C2"></path><path d="M61.44 307.2h906.24c30.72 0 51.2 20.48 51.2 51.2v10.24l-81.92 522.24c-10.24 51.2-51.2 87.04-102.4 87.04H189.44c-51.2 0-92.16-35.84-102.4-87.04L10.24 368.64C5.12 337.92 25.6 312.32 51.2 307.2h10.24z m0 51.2l81.92 522.24c5.12 25.6 25.6 40.96 51.2 40.96h645.12c25.6 0 46.08-20.48 51.2-40.96L962.56 358.4H61.44z" fill="#6D8994"></path><path d="M481.28 512v286.72c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V512c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6zM230.4 517.12l30.72 286.72c0 15.36 15.36 25.6 25.6 20.48 15.36 0 25.6-15.36 20.48-25.6l-25.6-291.84c0-15.36-15.36-25.6-25.6-20.48-15.36 0-25.6 15.36-25.6 30.72zM783.36 517.12l-30.72 286.72c0 15.36-15.36 25.6-25.6 20.48-15.36 0-25.6-15.36-20.48-25.6l30.72-286.72c0-15.36 15.36-25.6 25.6-20.48 10.24-5.12 20.48 10.24 20.48 25.6z" fill="#FFFFFF"></path><path d="M358.4 102.4h307.2c20.48 0 35.84 10.24 46.08 30.72L819.2 358.4H204.8l107.52-225.28c10.24-20.48 25.6-30.72 46.08-30.72z m307.2 51.2H358.4L286.72 307.2h450.56L665.6 153.6z" fill="#6D8994"></path></svg>                    采购<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-6">
                    <li v-if="isShow(19)"><a href="html/purchase/采购订单.html">采购订单</a></li>
                    <li v-if="isShow(20)"><a href="html/purchase/采购退货.html">采购退货</a></li>
                    <li v-if="isShow(21)"><a href="html/purchase/供应商管理.html">供应商管理</a></li>
                </ul>
            </li>
            <li class=" am-panel admin-parent" v-if="isShow(6)">
                <a class="am-cf" data-am-collapse="{parent: '#accordion', target: '#collapse-nav-7'}">
                    <svg id="icon-finance-20ade5-n" viewBox="0 0 1024 1024" width="15px" height="15px"><path d="M409.827028 204.345943L307.654057 102.172972c0-56.195134 45.977837-102.172972 102.172971-102.172972s102.172972 45.977837 102.172972 102.172972c0-56.195134 45.977837-102.172972 102.172972-102.172972s102.172972 45.977837 102.172971 102.172972l-102.172971 102.172971s357.605401 229.889186 357.6054 505.75621-408.691887 311.627564-408.691886 311.627564c-61.303783 5.108649-137.933512 0-137.933512 0S52.221628 1011.512419 52.221628 704.993504 409.827028 204.345943 409.827028 204.345943z" fill="#A1B8C2"></path><path d="M563.086486 204.345943c0-15.325946 5.108649-25.543243 15.325946-35.76054l81.738377-81.738377c-5.108649-20.434594-25.543243-35.76054-45.977837-35.76054-30.651891 0-51.086486 20.434594-51.086486 51.086486 0 66.412432-102.172972 66.412432-102.172972 0 0-30.651891-20.434594-51.086486-51.086486-51.086486-20.434594 0-40.869189 15.325946-45.977837 30.651891l81.738377 81.738378c10.217297 15.325946 15.325946 25.543243 15.325946 40.869188h102.172972z m35.76054 51.086486H425.152974h-5.108648c-10.217297 10.217297-25.543243 15.325946-35.760541 25.543243-40.869189 25.543243-81.738377 61.303783-117.498917 91.955675-102.172972 102.172972-163.476755 214.56324-163.476755 332.062157 0 112.390269 56.195134 183.911349 158.368106 224.780538 35.76054 15.325946 76.629729 25.543243 117.498918 30.651892 25.543243 5.108649 40.869189 5.108649 56.195134 5.108648H578.412432c10.217297 0 25.543243-5.108649 40.869188-5.108648 45.977837-10.217297 86.847026-20.434594 132.824863-40.869189 112.390269-45.977837 173.694052-117.498917 173.694052-209.454592 0-102.172972-61.303783-214.56324-163.476754-321.844861-35.76054-40.869189-76.629729-71.52108-117.498918-102.172971-20.434594-10.217297-30.651891-20.434594-45.977837-30.651892zM409.827028 204.345943L307.654057 102.172972c0-56.195134 45.977837-102.172972 102.172971-102.172972s102.172972 45.977837 102.172972 102.172972c0-56.195134 45.977837-102.172972 102.172972-102.172972s102.172972 45.977837 102.172971 102.172972l-102.172971 102.172971s357.605401 229.889186 357.6054 505.75621-408.691887 311.627564-408.691886 311.627564c-61.303783 5.108649-137.933512 0-137.933512 0S52.221628 1011.512419 52.221628 704.993504 409.827028 204.345943 409.827028 204.345943z" fill="#6D8994"></path><path d="M501.782703 561.951344h137.933512c15.325946 0 25.543243 10.217297 25.543242 25.543243s-10.217297 25.543243-25.543242 25.543243H512v51.086486h127.716215c15.325946 0 25.543243 10.217297 25.543242 25.543243s-10.217297 25.543243-25.543242 25.543243H512v127.716214c0 15.325946-10.217297 25.543243-25.543243 25.543243s-25.543243-10.217297-25.543243-25.543243V715.210802H333.1973c-15.325946 0-25.543243-10.217297-25.543243-25.543243s10.217297-25.543243 25.543243-25.543243H460.913514v-51.086486H333.1973c-15.325946 0-25.543243-10.217297-25.543243-25.543243s10.217297-25.543243 25.543243-25.543243h137.933511l-102.172971-107.28162c-10.217297-10.217297-10.217297-30.651891-5.108649-40.869189s25.543243-10.217297 35.76054 0l86.847026 91.955675 86.847026-91.955675c10.217297-5.108649 25.543243-5.108649 35.76054 0 5.108649 10.217297 5.108649 30.651891 0 40.869189L501.782703 561.951344z" fill="#FFFFFF"></path></svg>
                    财务<span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>

                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-7">
                    <li v-if="isShow(22)"><a href="html/finance/收款单.html">收款单</a></li>
                    <li v-if="isShow(23)"><a href="html/finance/付款单.html">付款单</a></li>
                    <li v-if="isShow(24)"><a href="html/finance/收支流水.html">收支流水</a></li>
                    <li v-if="isShow(25)"><a href="html/finance/客户对账.html">客户对账</a></li>
                    <li v-if="isShow(26)"><a href="html/finance/资金账户.html">资金账户</a></li>
                </ul>
            </li>

        </ul>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div>
                <p><span class="am-icon-bookmark"></span> 公告</p>
                <p>时光静好，与君语；细水流年，与君同。—— Amaze UI</p>
            </div>
        </div>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div>
                <p><span class="am-icon-tag"></span> wiki</p>
                <p>Welcome to the Amaze UI wiki!</p>
            </div>
        </div>
    </div>
    <!-- sidebar end -->

    <!-- content start -->
    <div class="admin-content">

        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg"><h2>首页</h2></strong><br>
                <small ><span class="am-badge am-badge-success">主页显示</span></small>
            </div>
        </div>

        <ul class="sm-block-grid-1 md-block-grid-5 am-margin am-padding am-text-center admin-content-list ">
            <li><a href="html/order/订货单.html" class="am-text-secondary">
                <span class="am-icon-btn"><svg t="1575681873335" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                               xmlns="http://www.w3.org/2000/svg" p-id="3836" width="25" height="25"><path
                        d="M603.792613 68.64952 409.943626 68.64952c-23.77652 0-42.785455 21.154809-42.785455 47.303352 0 26.208918 19.043728 47.426149 42.785455 47.426149l195.048301 0c22.580275 0 41.617863-21.217231 41.617863-47.426149C646.614907 89.803305 627.599831 68.64952 603.792613 68.64952L603.792613 68.64952 603.792613 68.64952zM814.280558 100.221586l-96.531544 0c0.981351 5.183046 1.548262 10.425444 1.548262 15.731286 0.029676 39.817867-28.855188 79.006402-63.21474 79.006402L359.51919 194.959274c-36.160571 0-65.084321-39.188534-65.084321-79.006402 0.034792-5.305843 0.601704-10.54824 1.583055-15.731286l-97.698113 0c-78.533634 0-97.828073 44.523029-97.828073 108.750843l0 636.20993c0 68.995397 27.629267 107.61088 103.758132 107.61088l604.094488 0c76.129888 0 113.137757-30.27656 113.137757-107.576087L921.482115 208.971405c0.00614-64.221674-34.641985-108.744703-107.200534-108.744703l0 0L814.281581 100.221586zM715.102744 728.380142 295.321052 728.380142c-15.47239 0-30.918173-18.980283-30.918173-34.477232 0-15.44476 13.072737-28.675086 28.54615-28.675086l418.5834 0c15.468296 0 28.54001 12.025894 29.713742 28.675086C741.246171 709.404975 730.571041 728.380142 715.102744 728.380142L715.102744 728.380142 715.102744 728.380142zM716.808596 559.925522 297.021787 559.925522c-15.474436 0-25.326828-16.636912-25.326828-32.145118 0-15.503089 13.078877-31.007201 28.54615-31.007201l418.5834 0c15.474436 0 28.54615 14.364149 29.713742 31.007201C748.539274 543.283494 732.24824 559.925522 716.808596 559.925522L716.808596 559.925522 716.808596 559.925522zM716.808596 386.915144 297.021787 386.915144c-15.474436 0-25.326828-16.643052-25.326828-32.145118 0-15.504112 13.078877-31.007201 28.54615-31.007201l418.5834 0c15.474436 0 28.54615 14.370289 29.713742 31.007201C748.539274 370.272092 732.24824 386.915144 716.808596 386.915144L716.808596 386.915144 716.808596 386.915144zM716.808596 386.915144"
                        p-id="3837"></path></svg></span>
                <br/>客户订单</a></li>
            <li><a href="html/order/退货单.html" class="am-text-secondary">
                <span class="am-icon-btn"><svg t="1575682222782" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                               xmlns="http://www.w3.org/2000/svg" p-id="6175" width="25" height="25"><path
                        d="M512 1024C229.226667 1024 0 794.773333 0 512S229.226667 0 512 0s512 229.226667 512 512-229.226667 512-512 512z m0-85.333333c235.648 0 426.666667-191.018667 426.666667-426.666667S747.648 85.333333 512 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667z"
                        p-id="6176"></path><path
                        d="M539.669333 495.082667c20.650667 12.416 44.672 30.293333 72.234667 53.717333 26.090667-19.306667 46.741333-37.184 61.909333-53.717333 9.578667-9.6 19.904-10.325333 30.954667-2.069334 9.6 11.050667 9.6 22.037333 0 33.066667-13.781333 15.146667-33.728 31.68-59.861333 49.578667 15.125333 13.76 35.754667 35.093333 61.909333 64 9.6 13.781333 9.6 24.789333 0 33.066666-11.008 8.277333-22.016 6.933333-33.002667-4.117333-44.074667-50.944-97.728-97.792-160.96-140.458667-9.664-6.890667-10.325333-16.533333-2.069333-28.928 9.6-9.6 19.242667-11.008 28.885333-4.138666z m-82.538666-57.813334h191.914666c10.986667 0 15.786667-4.138667 14.442667-12.394666v-33.066667h-206.357333v45.461333z m16.512-125.994666c-11.029333 0-16.512 6.186667-16.512 18.56v22.741333h206.357333v-22.72c1.344-13.76-3.456-19.946667-14.442667-18.581333h-175.402666z m191.914666-39.253334c27.477333-1.344 40.533333 10.325333 39.210667 35.114667v138.368c-1.429333 20.693333-13.12 31.722667-35.093333 33.066667h-210.474667v144.597333c0 2.773333 0.64 4.117333 2.069333 4.117333 0 1.386667 1.344 1.386667 4.138667 0 27.477333-13.738667 48.085333-26.837333 61.866667-39.253333 12.394667-9.6 23.381333-9.6 33.045333 0 8.256 11.050667 6.186667 22.037333-6.208 33.066667-24.746667 19.306667-54.357333 37.184-88.704 53.696-31.68 11.050667-48.192 1.386667-49.536-28.906667V309.205333c-2.773333-26.154667 10.304-38.528 39.189333-37.184h210.496z m-354.922666 20.650667c21.973333 20.650667 43.989333 46.826667 66.026666 78.506667 8.256 12.373333 6.826667 22.698667-4.138666 30.976-11.029333 6.890667-21.354667 4.138667-30.933334-8.277334-9.664-13.738667-27.562667-35.797333-53.653333-66.069333-4.138667-4.16-6.912-6.890667-8.256-8.298667-9.685333-9.6-10.325333-19.264-2.069333-28.906666 10.965333-8.256 21.973333-7.552 33.024 2.069333z m420.949333 396.586667c15.104 1.344 23.338667 8.96 24.768 22.698666-1.408 12.416-9.664 19.306667-24.746667 20.693334H488.064c-55.04-2.816-102.506667-19.328-142.378667-49.578667-1.408 1.365333-3.477333 2.773333-6.186666 4.096-22.058667 20.693333-42.666667 34.410667-61.909334 41.322667-12.373333 4.138667-21.333333 0.682667-26.816-10.325334-5.546667-13.781333-2.794667-23.424 8.256-28.928 41.28-15.104 62.549333-37.162667 63.936-66.069333v-111.552c0-13.738667-6.165333-20.650667-18.56-20.650667h-41.258666c-11.050667-1.344-17.216-8.96-18.56-22.72 1.344-12.394667 7.509333-19.285333 18.56-20.672h66.048c23.36 0 35.072 11.733333 35.072 35.114667v128.064c4.117333 49.578667 43.328 75.733333 117.610666 78.506667h249.685334z"
                        p-id="6177"></path></svg></span>
                <br/>客户退货单</a></li>
            <li><a href="html/purchase/采购订单.html" class="am-text-secondary">
                <span class="am-icon-btn"><svg t="1575682349446" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                               xmlns="http://www.w3.org/2000/svg" p-id="8423" width="25" height="25"><path
                        d="M73.500444 719.530667l139.377778-139.377778a50.403556 50.403556 0 0 1 47.104-15.246222c14.336 3.754667 20.935111 15.246222 24.746667 28.16 3.811556 12.970667-3.811556 36.181333-17.351111 47.786666l-74.752 70.428445H483.555556c16.952889 0 32.597333 5.916444 41.073777 20.536889a47.388444 47.388444 0 0 1 0 47.445333c-8.476444 14.620444-24.120889 19.342222-41.073777 19.342222H192.625778L267.377778 871.196444c12.060444 11.946667 21.902222 33.336889 17.351111 47.786667-4.551111 14.506667-13.425778 21.048889-25.998222 24.519111-12.515556 3.413333-33.792-0.170667-45.852445-12.117333l-142.222222-142.222222a47.331556 47.331556 0 0 1-13.255111-40.334223 47.274667 47.274667 0 0 1 16.099555-29.297777z"
                        fill="#000000" p-id="8424"></path><path
                        d="M718.620444 944.753778a47.388444 47.388444 0 0 1-41.016888-23.722667c-8.533333-14.620444-8.533333-25.088 0-39.765333a47.388444 47.388444 0 0 1 41.016888-23.665778h150.072889l-3.015111-495.274667L512 152.405333 143.132444 362.382222v116.053334c0 26.168889-17.066667 45.226667-43.235555 45.226666C73.614222 523.605333 56.888889 504.604444 56.888889 478.435556v-142.222223c0-16.327111 8.362667-31.573333 22.243555-40.277333l407.665778-233.244444a47.388444 47.388444 0 0 1 50.289778 0l393.216 233.244444c13.880889 8.704 22.357333 23.893333 22.300444 40.334222l3.015112 561.095111c0 26.168889-21.219556 47.388444-47.445334 47.388445h-189.610666z"
                        fill="#000000" p-id="8425"></path></svg></span>
                <br/>采购订单</a></li>
            <li><a href="html/purchase/采购退货.html" class="am-text-secondary">
                <span class="am-icon-btn"><svg t="1575682059063" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                               xmlns="http://www.w3.org/2000/svg" p-id="4500" width="25" height="25"><path
                        d="M857.6 725.333333L810.666667 678.4l59.733333-59.733333 149.333333 149.333333-149.333333 149.333333-59.733333-59.733333 46.933333-46.933333H682.666667v-85.333334h174.933333zM768 597.333333v-106.666666l-213.333333 123.733333v145.066667l85.333333-46.933334v93.866667l-128 72.533333L170.666667 682.666667V366.933333L512 170.666667l341.333333 196.266666V597.333333h-85.333333z m-337.066667-102.4l81.066667 46.933334 238.933333-136.533334-81.066666-46.933333-238.933334 136.533333z m-85.333333-51.2l238.933333-136.533333-72.533333-42.666667-238.933333 136.533334 72.533333 42.666666zM256 490.666667v145.066666l213.333333 123.733334v-145.066667l-213.333333-123.733333z"
                        fill="#444444" p-id="4501"></path></svg></span>
                <br/>采购退货单</a></li>
            <li><a href="html/finance/资金账户.html" class="am-text-secondary">
                <span class="am-icon-btn"><svg t="1575682398779" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                               xmlns="http://www.w3.org/2000/svg" p-id="9879" width="25" height="25"><path
                        d="M946.405249 581.036329l-356.407316 312.27212c-21.727861 17.534352-49.297776 28.077475-79.348186 28.077475-29.804816 0-57.152674-10.399861-78.798671-27.663036L75.557348 581.848834c-7.77508-8.93551-12.643971-20.48045-12.643971-33.278941 0-23.308869 15.745612-42.75271 37.08564-48.747237 0 0 5.126764-1.987261 12.599969-1.987261s104.987123 0 104.987123 0L217.586109 172.445514c0-46.799886 35.207873-81.406055 81.867566-81.406055L721.843774 91.039459c46.659693 0 81.867566 34.606169 81.867566 81.406055l0 325.388858 102.985536 0c0.339738 0 0.657986-0.098237 1.000793-0.098237 0.340761 0 0.660032 0.098237 1.001817 0.098237l1.182942 0 0.057305 0.12689c26.925233 1.208525 48.446385 23.306822 48.446385 50.607608C958.385095 560.987714 953.774077 572.213383 946.405249 581.036329zM624.617405 441.08795c18.657942 0 29.647227-14.481829 29.647227-33.196053 0-18.714224-10.988262-31.930223-29.647227-31.930223l-71.856561-0.019443 74.242911-74.613348c13.291724-13.32447 13.291724-34.932604 0-48.264237-13.284561-13.331633-34.836413-13.331633-48.120974 0l-68.806085 69.012793-68.533886-68.74264c-13.292748-13.331633-34.836413-13.331633-48.121997 0-13.292748 13.331633-13.292748 34.94079 0 48.263214l74.150814 74.386174-70.889537-0.023536c-18.658965 0-29.647227 13.216-29.647227 31.930223 0 18.714224 10.988262 33.196053 29.647227 33.196053l73.264631 0 0 40.703027-73.264631 0c-18.658965 0-29.647227 12.120039-29.647227 30.848589 0 18.714224 10.988262 34.275641 29.647227 34.275641l73.264631 0 0 48.842405c0 23.388686 17.370623 40.703027 40.704051 40.703027 23.325241 0 40.702004-17.314341 40.702004-40.703027l0-48.842405 75.360362 0c18.657942 0 27.552519-12.491499 27.552519-31.205723 0-24.347524-12.986779-33.918507-31.645744-33.918507l-71.267137 0 0-40.703027L624.617405 441.086927z"
                        p-id="9880"></path></svg></span>
                <br/>资金收入</a></li>
        </ul>
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><br>
                <small><span class="am-badge am-badge-success">快捷操作</span></small>
            </div>
        </div>

        <ul class="sm-block-grid-1 md-block-grid-4 am-margin am-padding am-text-center admin-content-list ">
            <li><a href="html/order/代客下单.html" class="am-text-secondary">
              <span class="am-icon-btn">
                  <svg t="1575699558630" class="icon" viewBox="0 0 1024 1024" version="1.1"
                       xmlns="http://www.w3.org/2000/svg" p-id="14166" width="25" height="25"><path
                          d="M995.265306 989.413878H28.734694a20.897959 20.897959 0 0 1-20.062041-26.644898L84.636735 697.155918a20.897959 20.897959 0 0 1 19.853061-15.15102h20.897959a20.897959 20.897959 0 0 1 0 41.795918h-4.597551L56.42449 947.617959h911.15102l-64.052245-223.817143h-1.358367a20.897959 20.897959 0 0 1 0-41.795918H919.510204a20.897959 20.897959 0 0 1 20.062041 15.15102l76.068571 265.613062a20.897959 20.897959 0 0 1-20.06204 26.644898z"
                          p-id="14167"></path><path
                          d="M195.918367 839.157551a20.897959 20.897959 0 0 1-20.897959-20.897959v-579.918368a20.897959 20.897959 0 0 1 5.955919-14.524081l177.632653-182.857143a20.897959 20.897959 0 0 1 14.94204-6.373878h459.755102a20.897959 20.897959 0 0 1 20.89796 20.89796l-5.22449 757.55102a20.897959 20.897959 0 0 1-20.897959 20.897959l-632.163266 5.22449z m20.89796-592.352653v550.347755l590.471836-4.91102 4.911021-715.964082H382.432653z"
                          p-id="14168"></path><path
                          d="M368.326531 269.688163h-156.734694a20.897959 20.897959 0 0 1 0-41.795918h135.836734v-146.285714a20.897959 20.897959 0 1 1 41.795919 0v167.183673a20.897959 20.897959 0 0 1-20.897959 20.897959zM457.142857 510.014694a20.897959 20.897959 0 0 1-14.733061-6.164898l-94.040816-94.040816a20.897959 20.897959 0 0 1 29.570612-29.570613l80.039184 80.039184 194.14204-174.811429a20.897959 20.897959 0 1 1 28.003266 31.346939l-208.979592 188.081633a20.897959 20.897959 0 0 1-14.001633 5.12zM770.612245 708.545306h-512a10.44898 10.44898 0 0 1 0-20.897959h512a10.44898 10.44898 0 0 1 0 20.897959z"
                          p-id="14169"></path></svg>
              </span>
                <br/>即时下单</a></li>
            <li><a href="html/order/新增退货单.html" class="am-text-secondary">
              <span class="am-icon-btn">
                <svg t="1575686967447" class="icon" viewBox="0 0 1024 1024" version="1.1"
                     xmlns="http://www.w3.org/2000/svg" p-id="11417" width="25" height="25"><path
                        d="M593.92 630.328889s-34.133333-9.102222-43.235556-13.653333c-18.204444-11.377778-29.582222-34.133333-29.582222-56.888889 0-25.031111 20.48-45.511111 34.133334-61.44 34.133333-40.96 52.337778-95.573333 52.337777-157.013334 0-127.431111-91.022222-229.831111-202.524444-229.831111S202.524444 216.177778 202.524444 343.608889c0 61.44 20.48 116.053333 52.337778 157.013333 20.48 11.377778 34.133333 36.408889 34.133334 61.44 0 22.755556-11.377778 43.235556-29.582223 56.888889v2.275556c-2.275556 0-4.551111 2.275556-4.551111 2.275555-11.377778 6.826667-22.755556 11.377778-36.408889 11.377778-86.471111 29.582222-159.288889 75.093333-202.524444 131.982222h2.275555c-11.377778 15.928889-15.928889 34.133333-15.928888 52.337778 0 54.613333 45.511111 100.124444 102.4 100.124444H705.422222c59.164444 0 104.675556-43.235556 104.675556-100.124444 0-22.755556-9.102222-43.235556-20.48-61.44-43.235556-56.888889-111.502222-100.124444-195.697778-127.431111zM1001.244444 730.453333c-38.684444-47.786667-97.848889-88.746667-172.942222-111.502222 0 0-29.582222-6.826667-38.684444-11.377778-15.928889-11.377778-25.031111-29.582222-25.031111-50.062222 0-22.755556 18.204444-40.96 29.582222-52.337778 29.582222-36.408889 47.786667-84.195556 47.786667-138.808889 0-111.502222-79.644444-204.8-179.768889-204.8-15.928889 0-31.857778 2.275556-45.511111 6.826667 34.133333 50.062222 52.337778 109.226667 52.337777 175.217778 0 70.542222-25.031111 138.808889-68.266666 195.697778l-4.551111 4.551111v2.275555c-4.551111 4.551111-11.377778 11.377778-13.653334 18.204445 0 2.275556 0 2.275556 2.275556 2.275555 4.551111 2.275556 11.377778 4.551111 18.204444 4.551111h2.275556l9.102222 4.551112c93.297778 29.582222 172.942222 81.92 225.28 147.911111 22.755556 29.582222 36.408889 63.715556 36.408889 100.124444 0 20.48-4.551111 36.408889-11.377778 54.613333h65.991111c52.337778 0 93.297778-38.684444 93.297778-88.746666-2.275556-25.031111-9.102222-43.235556-22.755556-59.164445z m0 0"
                        fill="" p-id="11418"></path></svg>
              </span>
                <br/>新增退货</a></li>
            <li><a href="html/purchase/新增采购单.html" class="am-text-danger">
              <span class="am-icon-btn">
                  <svg t="1575699629281" class="icon" viewBox="0 0 1024 1024" version="1.1"
                       xmlns="http://www.w3.org/2000/svg" p-id="15175" width="25" height="25"><path
                          d="M807.424 986.624H225.28c-30.208 0-53.76-23.552-53.76-53.76V363.008h51.2v569.856c0 1.536 1.024 2.56 2.56 2.56h582.144c1.536 0 2.56-1.024 2.56-2.56V363.008h51.2v569.856c0 30.208-23.552 53.76-53.76 53.76z"
                          p-id="15176"></path><path
                          d="M993.28 542.72c-6.656 0-13.312-2.56-17.92-7.68l-455.68-455.68-455.68 455.68c-10.24 10.24-26.112 10.24-36.352 0s-10.24-26.112 0-36.352L501.76 25.6c10.24-10.24 26.112-10.24 36.352 0l473.6 473.6c10.24 10.24 10.24 26.112 0 36.352-5.12 4.608-11.776 7.168-18.432 7.168z"
                          p-id="15177"></path><path
                          d="M517.12 720.896c-13.824 0-26.112-10.24-27.648-24.576l-39.424-276.992c-6.144-40.96 26.112-77.824 67.072-77.824 41.472 0 73.216 36.864 67.072 77.824l-39.424 276.992c-2.048 14.336-13.824 24.576-27.648 24.576z"
                          p-id="15178"></path><path
                          d="M517.12 788.48m-37.888 0a37.888 37.888 0 1 0 75.776 0 37.888 37.888 0 1 0-75.776 0Z"
                          p-id="15179"></path></svg>
              </span>
                <br/>快速采购</a></li>
            <li><a href="html/purchase/新增采购退货单.html" class="am-text-secondary">
               <span class="am-icon-btn"><svg t="1575682349446" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                              xmlns="http://www.w3.org/2000/svg" p-id="8423" width="25" height="25"><path
                       d="M73.500444 719.530667l139.377778-139.377778a50.403556 50.403556 0 0 1 47.104-15.246222c14.336 3.754667 20.935111 15.246222 24.746667 28.16 3.811556 12.970667-3.811556 36.181333-17.351111 47.786666l-74.752 70.428445H483.555556c16.952889 0 32.597333 5.916444 41.073777 20.536889a47.388444 47.388444 0 0 1 0 47.445333c-8.476444 14.620444-24.120889 19.342222-41.073777 19.342222H192.625778L267.377778 871.196444c12.060444 11.946667 21.902222 33.336889 17.351111 47.786667-4.551111 14.506667-13.425778 21.048889-25.998222 24.519111-12.515556 3.413333-33.792-0.170667-45.852445-12.117333l-142.222222-142.222222a47.331556 47.331556 0 0 1-13.255111-40.334223 47.274667 47.274667 0 0 1 16.099555-29.297777z"
                       fill="#000000" p-id="8424"></path><path
                       d="M718.620444 944.753778a47.388444 47.388444 0 0 1-41.016888-23.722667c-8.533333-14.620444-8.533333-25.088 0-39.765333a47.388444 47.388444 0 0 1 41.016888-23.665778h150.072889l-3.015111-495.274667L512 152.405333 143.132444 362.382222v116.053334c0 26.168889-17.066667 45.226667-43.235555 45.226666C73.614222 523.605333 56.888889 504.604444 56.888889 478.435556v-142.222223c0-16.327111 8.362667-31.573333 22.243555-40.277333l407.665778-233.244444a47.388444 47.388444 0 0 1 50.289778 0l393.216 233.244444c13.880889 8.704 22.357333 23.893333 22.300444 40.334222l3.015112 561.095111c0 26.168889-21.219556 47.388444-47.445334 47.388445h-189.610666z"
                       fill="#000000" p-id="8425"></path></svg></span>
                <br/>仓储退货<br/></a></li>
        </ul>

        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><font class=" am-text-lg"><span class="am-badge am-badge-success">最新订单</span></font>
                <br>
                <small><a href="html/order/订单统计.html"><h2>|订单统计</h2></a></small>
            </div>
        </div>
        <div class="am-g">
            <div class="col-sm-12">
                <table class="am-table am-table-bd am-table-striped admin-content-table">
                    <thead>
                    <tr>
                        <th style="text-align: center">序号</th>
                        <th style="text-align: center">订单编号</th>
                        <th style="text-align: center">用户名</th>
                        <th style="text-align: center">订单状态</th>
                        <th style="text-align: center">管理</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr  v-for="(value,index) in orderList">
                        <td style="text-align: center">{{index+1}}</td>
                        <td style="text-align: center"><a href="javascript:void(0)" @click="seeOrder(value.id)" >{{value.code}}</a></td>
                        <td style="text-align: center">{{value.userNameA}}</td>
                        <td style="text-align: center"><span class="am-badge am-badge-success">{{value.orderStaIdA}}</span></td>
                        <td style="text-align: center">
                            <button type="button" @click="seeOrder(value.id)" class="am-btn am-btn-success">查看</button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- content end -->

    </div>
</div>

    <footer>
        <hr>
        <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
    </footer>

    <script src="assets/js/zepto.min.js"></script>
    <script src="assets/js/amazeui.min.js"></script>
    <script src="assets/js/app.js"></script>
<script src="js/vue.js"></script>
<script src="js/axios.min.js"></script>
<script src="js/qiandel.js"></script>
<script>

    let vue1 = new Vue({
        el: "#box1",
        data: {
            code: "",
            orderStaId: "0",
            pageControl: "",
            pageNum: "1",
            page: {},
            orderList: [],
            // 已作废(14), 待提交(1), 待订单审核(7), 待财务审核(8), 待出库(6), 待发货(3), 待收货(4), 已完成(15)
            orderStaIdList: {
                "1": "待提交",
                "3": "待发货",
                "4": "待收货",
                "6": "待出库",
                "7": "待订单审核",
                "8": "待财务审核",
                "14": "已作废",
                "15": "已完成"
            },
            //已作废(14), 待收款(12), 待收款（部分）(13), 已完成(15)
            recStaIdList: {"14": "已作废", "12": "待收款", "13": "待收款（部分)", "15": "已完成"},
            UserList: [], //用户
        },
        //方法区
        methods: {
            selectOrder() {
                axios.get("/order/SelectOrderList", {
                    params: {
                        code: this.code,
                        orderStaId: this.orderStaId,
                        pageControl: this.pageControl,
                        pageNum: this.pageNum
                    }
                }).then(res => {
                    vue1.page = res.data;
                    vue1.orderList = res.data.list;
                    $.each(vue1.orderList, function (i, val0) {
                        vue1.orderList[i].orderStaIdA = vue1.orderStaIdList[vue1.orderList[i].orderStaId]
                        vue1.orderList[i].recStaIdA = vue1.recStaIdList[vue1.orderList[i].recStaId]
                        $.each(vue1.UserList, function (j, val) {
                            if (vue1.orderList[i].userId == val.id) {
                                vue1.orderList[i].userNameA = val.name
                            }
                        })
                    })
                    // this.$forceUpdate();//在完成对数据的更新后，强制Vue更新数据
                }).catch(err => {
                    alert("失败1" + err)
                })
            },
            seeOrder(id) {
                sessionStorage["orderId"] = id;
                window.location.href = "html/order/查看订货单.html";
            },
            pageController(pageNum,pageControl){
                this.pageNum = pageNum
                this.pageControl = pageControl
                setTimeout(function () {
                    vue1.selectOrder()
                },10)
            },
            selectUser(){
                axios.get("/order/SelectUsers").then(resp=>{
                    vue1.UserList =  resp.data
                }).catch(err=>{
                    console.log("失败了")
                })
            }
        },
        //初始化生命周期
        mounted(){
            this.pageController(1,null);
            this.selectUser()
        },
    })
</script>
</body>
</html>
